<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('原因')}:</label>
        <div class="col-xs-12 col-sm-8">
<!--             {if $row.library_id == 2}
            {:build_radios('row[suspend_type]',$suspendselect,$row.suspend_type)}
            {else/}
            {:build_radios('row[suspend_type]', $suspendselect,$row.suspend_type)}
            {/if} -->

            {:build_radios('row[suspend_type]', $suspendselect,$row.suspend_type)}

            <!--0为管理员的取消状态，所以单独设置一个6 为默认不选中-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('原因')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea name="row[suspend_memo]"  class="form-control "  id="suspend_memo"  rows="5" cols="50" placeholder="请填原因" data-rule="required">{$row.suspend_memo}</textarea>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
